#pragma once

#include "id.h"
#include "component.h"

class world {
public:
	world() = default;
	~world() = default;
	world(const world&) = delete;
	world& operator=(const world&) = delete;

	void run();

	EntityId createEntity();
	void destroyEntity(const EntityId& entity);
private:
	std::vector<std::pair<EntityId, bool>> entities;
	componentsManager cmpManager;
};